<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let arr = ['admin'];
        console.log(arr.concat('zhangsan'))
        let obj1 = {name:'张三'};
        let obj2 = {name:'李思'};
        // 获取对象的原型
        let prototype1 = Object.getPrototypeOf(obj1);
        let prototype2 = Object.getPrototypeOf(obj2);
        console.log(prototype1==prototype2); // true 

        // 创建没有原型的对象：完全的数据字典对象
        let zh = Object.create(null,{ 
            name:{
                value:'王武'
            }
        })
        
        console.log(Object.getPrototypeOf(zh)) // null
    </script>
</body>
</html>